//
//  MovieHGTableViewCell.m
//  个人项目(豆瓣元旦作业)
//
//  Created by dllo on 16/1/4.
//  Copyright © 2016年 guoguo. All rights reserved.
//

#import "MovieHGTableViewCell.h"

@implementation MovieHGTableViewCell


- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        [self createCell];
    }
    return self;
}


- (void)createCell{
    
    self.imageView1 = [[UIImageView alloc] init];
    [self.contentView addSubview:_imageView1];
    
    
    self.imageView2 = [[UIImageView alloc] init];
    [self.contentView addSubview:_imageView2];
    
    
    self.label = [[UILabel alloc] init];
    [self.contentView addSubview:_label];
    
    
    
    
}


- (void)layoutSubviews{
    
    _imageView1.frame = CGRectMake(5, 5, 364, 190);
    
    
    _imageView2.frame = CGRectMake(9, 9, 130, 180);
    
    _label.frame = CGRectMake(150, 60, 200, 100);
    _label.font = [UIFont systemFontOfSize:22];
    
    
    
    
    
    
    
}




- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
